package com.itcc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

// SpringMVC配置
@Configuration  //指定为配置类
@ComponentScan({"com.itcc.controller", "com.itcc.config"})
@EnableWebMvc   //启用SpringMVC
public class SpringMvcConfig {

}
